<template>
  <div>请输入<Input v-model="inputValue" type="text" /></div>
</template>

<script setup lang="ts">
import { ref, defineOptions, onDeactivated, onMounted, onActivated } from "vue";
import Input from "../Input/Input.vue";

defineOptions({
  name: "goods",
});

onActivated(() => {
  console.log("onActivated22");
  console.log("inputValue-->", inputValue);
});

onMounted(() => {
  console.log("onMounted22");
});

onDeactivated(() => {
  console.log("onDeactivated22");
});

const inputValue = ref("");
</script>

<style scoped></style>
